package org.zhxy.entity.personnel;

import lombok.Data;
import org.zhxy.entity.system.Role;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@Data
public class UserTeacher implements Serializable {


    private String id;
    private String username;
    private String password;
    private String nickName;
    private String level; //saasAdmin：saas管理员具备所有权限  coAdmin：企业管理（创建租户企业的时候添加）user：普通用户（需要分配角色）
    private String type;    //老师1,学生2
    private String status;  //是否禁用该账号
    private String telephone;
    private String email;
    private String sex;
    private String province;  //省
    private String city; //市
    private String area; //区县
    private String township; //乡 镇
    private String detailed; //村
    private String idCard;
    private Date birthday;
    private String education;   //学历
    private String graduationSchool; //毕业院校
    private String major;		//专业
    private String emergencyContact; //紧急联络人
    private String emergencyRelation; //紧急联络人关系


    private String identityId; //员工身份
    private String identityName;
    private Date entryTime; //入职时间
    /*private String hasMember;  //是否转正 1转正 0未转正
    private Integer jobNumber;   //工龄
    private String laborContract;  //是否办理劳动合同 1是 2否
    private Date contractTime;   //劳动合同签订日期
    private Integer contractNumber; //续签天数
    private String hasSocialSecurity; //是否有社保 1有 2无*/
   // private String hasLevel;  //是否离职 1在职 2离职
    private String url;

    private String roleIds; //在页面新增,修改用户时,传递过来的角色ids字符串,用于绑定关系
    private String roleNames;
    //private Set<Role> roles = new HashSet<Role>();


    private String departmentIds;
    private String departmentNames;

    private String generalStatus; //是否转正 1未申请 2申请中 3已通过 4已驳回
    private String resignationStatus; //是否离职   1在职 2离职 3复职

}

